package dt.day02;

public class Test {
    public static void main(String[] args) {
        Handset ch = new CommonHandset("摩托罗拉","ACT-011");
        CommonHandset a = (CommonHandset) ch;
        a.show();
        System.out.println("======功能如下======");
        a.call();
        a.play();
        a.sendInfo();
        System.out.println("**************************");
        AptitudeHandset ah = new AptitudeHandset("HuaWei","ALT-PTL");
        ah.show();
        System.out.println("======功能如下======");
        ah.networkConn();
        ah.play();
        ah.call();
        ah.sendInfo();
        ah.takePictures();
    }
}
